package com.beadhouse.outregistration.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.beadhouse.common.dao.TemplateDao;
import com.beadhouse.entity.OutEntity;
import com.beadhouse.outregistration.ao.OutAo;
/**
 * @author admin 周彬
 */
public interface OutGoingDao extends TemplateDao<OutEntity,Integer>{
	
	
	void  approvalOG(@Param("id")int id,@Param("approTime")Date approTime,@Param("approval")String approval) throws Exception;

	void updateOG(@Param("oe")OutEntity oe,@Param("currentId")String currentId)throws Exception;
	
	List<OutEntity> selectListOG(@Param("key")String key) throws Exception;

	OutEntity selectByIdOG(@Param("id")int id)throws Exception;

	void updateTimeOG(@Param("actualReturnTime")Date actualReturnTime,@Param("customerId")Integer customerId)throws Exception;
}
